﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using BaMusaSoft.RPS.ViewModel;

namespace BaMusaSoft.RPS.View
{
    /// <summary>
    /// Interaction logic for AddActivityWindow.xaml
    /// </summary>
    public partial class AddActivityWindow : Window
    {
        //public AddActivityWindow(ContractActivityViewModel context)
        //{
        //    InitializeComponent();
        //    this.DataContext = context;
        //}

        //public ContractActivityViewModel Activity
        //{
        //    get { return (ContractActivityViewModel)this.DataContext; }
        //}
        private void AddClicked(object sender, RoutedEventArgs e)
        {
            //if (Activity.Validate())
            //{
            this.DialogResult = true;
            //}
        }

        private void CancelClicked(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
    }
}
